home *** CD-ROM | disk | FTP | other *** search
/ QRZ! Ham Radio 4 / QRZ Ham Radio Callsign Database - Volume 4.iso / files / satelite / msat09.tgz / CCD.H < prev    next >
Text File  |  1994-09-17  |  934b  |  29 lines

  1. /*
  2.  * ccd.h
  3.  *
  4.  * image file header
  5.  *
  6.  */
  7.  
  8. /* for headers with version 0x80 the width is always 611x576 */
  9. /* for headers with version 0x81 the width is defined in the header */
  10.  
  11. #define WIDTH  611
  12. #define HEIGHT 576
  13.  
  14. typedef struct
  15. {
  16.   time_t start_time __attribute__ ((packed));
  17.   time_t take_time __attribute__ ((packed));
  18.   unsigned long image_number __attribute__ ((packed));
  19.   unsigned long retries __attribute__ ((packed));
  20.   unsigned long set_image_num __attribute__ ((packed));
  21.   unsigned char integration __attribute__ ((packed));
  22.   unsigned char gain __attribute__ ((packed));
  23.   unsigned char unused[229] __attribute__ ((packed));
  24.   unsigned short  num_pixels __attribute__ ((packed));     /* only if version 0x81 */
  25.   unsigned short  num_lines __attribute__ ((packed));      /* only if version 0x81 */
  26.   unsigned char version __attribute__ ((packed));        /* 0x80 or 0x81 */
  27. } CCDHEADER;
  28.  
  29.